package api

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

func Ping(c *gin.Context) {
	c.JSON(http.StatusOK, gin.H{
		"message": "pong2222222",
	})
}
func Ping2(c *gin.Context) {
	c.JSON(http.StatusOK, gin.H{
		"message":  "pong2222222",
		"message2": "3333333",
	})
}
func Ping4(c *gin.Context) {
	c.JSON(http.StatusOK, gin.H{
		"message":  "pong2222222",
		"message2": "3333333",
	})
}
func Ping3(c *gin.Context) {
	data := map[string]interface{}{
		"lang": "GO语言",
		"tag":  "<br>",
	}
	c.AsciiJSON(http.StatusOK, data)
}
